/*
 * Copyright 2014 Google Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.aliyun.ai.viapi.gles.base;

public class NormalCoord extends Base2DCoord {

    // openGL 世界坐标系
    private static final float VERTEX_COORD[] = {
            -1.0f, -1.0f,  // left bottom
            1.0f, -1.0f,   // right bottom
            -1.0f, 1.0f,   // left top
            1.0f, 1.0f,    // right top
    };

    // openGL 纹理坐标系
    private static final float TEXTURE_COORD[] = {
            0.0f, 0.0f,     // left bottom
            1.0f, 0.0f,     // right bottom
            0.0f, 1.0f,     // left top
            1.0f, 1.0f      // right top
    };

    // android 屏幕坐标系
    private static final float ANDROID_COORD[] = {
            0.0f, 1.0f,
            1.0f, 1.0f,
            0.0f, 0.0f,
            1.0f, 0.0f
    };


    public NormalCoord() {
        super(VERTEX_COORD, TEXTURE_COORD);
    }
}
